// import Cookies from 'js-cookie'

const TokenKey = 'Admin-Token'
export const FPKey = 'fuzeOrPeihe'

export function getToken() {
  return localStorage.getItem(TokenKey)
  // return Cookies.get(TokenKey)
}

export function setToken(token) {
  return localStorage.setItem(TokenKey, token)
  // return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return localStorage.removeItem(TokenKey)
  // return Cookies.remove(TokenKey)
}

export function getFuzeOrPeihe(){
  return localStorage.getItem(FPKey)
}
export function setFuzeOrPeihe(FP) {
  return localStorage.setItem(FPKey, FP)
}
